# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: Anjandev Momi <anjan@momi.ca>
pkgname=ufw-extras
pkgver=0.5
pkgrel=1
pkgdesc="Extra configuration files for uncomplicated firewall (ufw)."
url="https://github.com/xyproto/ufw-extras"
arch="noarch"
license="GPL-2.0-or-later"
options="!check" # No test suite
depends="ufw"
source="$pkgname-$pkgver.tar.gz::https://github.com/xyproto/ufw-extras/archive/$pkgver.tar.gz"

package() {
	local file;
	for file in "ufw-"*; do
		install -Dm644 "$file" "$pkgdir/etc/ufw/applications.d/$file"
	done
}

sha512sums="5d2deeee693bd56e7345512377842ade4a57c660be037927a2f6ab3fef6e9eb4b007990bb0c18b0c0ad1dda88b31c2bf7aec821dbd96b904f07cd6d9cfe6c120  ufw-extras-0.5.tar.gz"
